package com.qhy.springcloud.api;

import java.io.Serializable;

/**
 * @author qiuhongyu
 * @date 2020/9/25 15:40
 * 部门信息
 */
public class Dept implements Serializable {
    private static final long serialVersionUID = 9042888107916090261L;
    /**
     * 主键
     */
    private Long deptno;
    /**
     * 部门名称
     */
    private String dname;

    private String dbSource;

    public Dept() {
    }

    public Dept(Long deptno, String dname, String dbSource) {
        this.deptno = deptno;
        this.dname = dname;
        this.dbSource = dbSource;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getDeptno() {
        return deptno;
    }

    public void setDeptno(Long deptno) {
        this.deptno = deptno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getDbSource() {
        return dbSource;
    }

    public void setDbSource(String dbSource) {
        this.dbSource = dbSource;
    }
}
